package com.sky.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

@Data
@Schema(description = "员工分页查询参数")
public class EmployeePageQueryDTO implements Serializable {

    //员工姓名
    private String name;
    @Schema(description = "页码" ,requiredMode = Schema.RequiredMode.REQUIRED)
    //页码
    private int page;
    @Schema(description = "每页显示记录数" ,requiredMode = Schema.RequiredMode.REQUIRED)
    //每页显示记录数
    private int pageSize;

}
